package com.heima.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.order.dtos.PayLogDto;
import com.heima.model.order.pojos.PayLog;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @Description:
 * @Version: V1.0
 */
public interface PayLogService extends IService<PayLog> {

    /**
     * 查询列表
     * @param dto
     * @return
     */
    public ResponseResult findPage(PayLogDto dto);

    /**
     * 新增
     * @param payLog
     * @return
     */
    public ResponseResult insert(PayLog payLog);

    /**
     * 修改
     * @param payLog
     * @return
     */
    public ResponseResult update(PayLog payLog);

    /**
     * 删除
     * @param id
     * @return
     */
    public ResponseResult deleteById(Long id);

}
